package com.weiz.rabbitmq.mapper;

import com.weiz.rabbitmq.entity.OrderInfo;
import org.apache.ibatis.annotations.Insert;
import org.springframework.stereotype.Repository;

@Repository
public interface OrderMapper {
    @Insert("insert into t_order (id, name, message_id\n" +
            "      )\n" +
            "    values (#{id,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{messageId,jdbcType=VARCHAR}\n" +
            "      )")
    int insert(OrderInfo record);
}
